package org.momin.bean;

import org.apache.ibatis.type.Alias;

@Alias("rolesystem")
public class RoleSystem {
	private Integer id;
	private Integer rid;
	private Integer sid;
	private Roles rinfo;
	private Systems sinfo;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getRid() {
		return rid;
	}
	public void setRid(Integer rid) {
		this.rid = rid;
	}
	public Integer getSid() {
		return sid;
	}
	public void setSid(Integer sid) {
		this.sid = sid;
	}
	public Roles getRinfo() {
		return rinfo;
	}
	public void setRinfo(Roles rinfo) {
		this.rinfo = rinfo;
	}
	public Systems getSinfo() {
		return sinfo;
	}
	public void setSinfo(Systems sinfo) {
		this.sinfo = sinfo;
	}
	@Override
	public String toString() {
		return "RoleSystem [id=" + id + ", rid=" + rid + ", sid=" + sid
				+ ", rinfo=" + rinfo + ", sinfo=" + sinfo + "]";
	}
	public RoleSystem() {
		super();
	}
	public RoleSystem(Integer id, Integer rid, Integer sid, Roles rinfo,
			Systems sinfo) {
		super();
		this.id = id;
		this.rid = rid;
		this.sid = sid;
		this.rinfo = rinfo;
		this.sinfo = sinfo;
	}
	public RoleSystem(Integer id, Integer rid, Integer sid) {
		super();
		this.id = id;
		this.rid = rid;
		this.sid = sid;
	}
}
